.class public Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;
.super Ljava/lang/Object;
.source "DisplayTrackInMapPolygon.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon$LoadPolygons;
    }
.end annotation


# instance fields
.field private displayer:Llt/noframe/gpsfarmguide/sprayer/spray/SprayDisplayer;

.field private handler:Landroid/os/Handler;

.field private loader:Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon$LoadPolygons;

.field private model:Llt/noframe/gpsfarmguide/models/MeasuringModel;

.field private polys:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/google/android/gms/maps/model/Polygon;",
            ">;"
        }
    .end annotation
.end field

.field private track:Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;


# direct methods
.method public constructor <init>(Llt/noframe/gpsfarmguide/models/MeasuringModel;Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;)V
    .locals 0

    .line 28
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 29
    iput-object p1, p0, Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;->model:Llt/noframe/gpsfarmguide/models/MeasuringModel;

    .line 30
    iput-object p2, p0, Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;->track:Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;

    .line 31
    new-instance p1, Landroid/os/Handler;

    invoke-direct {p1}, Landroid/os/Handler;-><init>()V

    iput-object p1, p0, Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;->handler:Landroid/os/Handler;

    return-void
.end method

.method static synthetic access$000(Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;)Llt/noframe/gpsfarmguide/sprayer/spray/SprayDisplayer;
    .locals 0

    .line 19
    iget-object p0, p0, Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;->displayer:Llt/noframe/gpsfarmguide/sprayer/spray/SprayDisplayer;

    return-object p0
.end method

.method static synthetic access$002(Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;Llt/noframe/gpsfarmguide/sprayer/spray/SprayDisplayer;)Llt/noframe/gpsfarmguide/sprayer/spray/SprayDisplayer;
    .locals 0

    .line 19
    iput-object p1, p0, Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;->displayer:Llt/noframe/gpsfarmguide/sprayer/spray/SprayDisplayer;

    return-object p1
.end method

.method static synthetic access$100(Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;)Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;
    .locals 0

    .line 19
    iget-object p0, p0, Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;->track:Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;

    return-object p0
.end method

.method static synthetic access$200(Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;)Ljava/util/List;
    .locals 0

    .line 19
    iget-object p0, p0, Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;->polys:Ljava/util/List;

    return-object p0
.end method

.method static synthetic access$202(Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;Ljava/util/List;)Ljava/util/List;
    .locals 0

    .line 19
    iput-object p1, p0, Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;->polys:Ljava/util/List;

    return-object p1
.end method

.method static synthetic access$300(Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;)Landroid/os/Handler;
    .locals 0

    .line 19
    iget-object p0, p0, Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;->handler:Landroid/os/Handler;

    return-object p0
.end method


# virtual methods
.method public displayTracks()V
    .locals 1

    .line 36
    iget-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;->loader:Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon$LoadPolygons;

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon$LoadPolygons;->isRunning()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 37
    iget-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;->loader:Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon$LoadPolygons;

    invoke-virtual {v0}, Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon$LoadPolygons;->cancel()V

    .line 40
    :cond_0
    new-instance v0, Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon$LoadPolygons;

    invoke-direct {v0, p0}, Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon$LoadPolygons;-><init>(Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;)V

    iput-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;->loader:Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon$LoadPolygons;

    .line 41
    iget-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;->loader:Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon$LoadPolygons;

    invoke-virtual {v0}, Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon$LoadPolygons;->start()V

    return-void
.end method

.method public getArea()D
    .locals 2

    .line 151
    iget-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;->displayer:Llt/noframe/gpsfarmguide/sprayer/spray/SprayDisplayer;

    invoke-virtual {v0}, Llt/noframe/gpsfarmguide/sprayer/spray/SprayDisplayer;->getArea()D

    move-result-wide v0

    return-wide v0
.end method

.method public getPolys()Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Lcom/google/android/gms/maps/model/Polygon;",
            ">;"
        }
    .end annotation

    .line 147
    iget-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;->polys:Ljava/util/List;

    return-object v0
.end method

.method public getTrack()Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;
    .locals 1

    .line 143
    iget-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;->track:Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;

    return-object v0
.end method

.method public onCameraIdle()V
    .locals 0

    return-void
.end method

.method public onCameraMove()V
    .locals 0

    return-void
.end method

.method public removePolygons()V
    .locals 2

    .line 135
    iget-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;->track:Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->removePath()V

    .line 136
    :cond_0
    iget-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;->polys:Ljava/util/List;

    if-eqz v0, :cond_1

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_1

    const/4 v0, 0x0

    .line 137
    :goto_0
    iget-object v1, p0, Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;->polys:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-ge v0, v1, :cond_1

    .line 138
    iget-object v1, p0, Llt/noframe/gpsfarmguide/sprayer/spray/DisplayTrackInMapPolygon;->polys:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/google/android/gms/maps/model/Polygon;

    invoke-virtual {v1}, Lcom/google/android/gms/maps/model/Polygon;->remove()V

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_1
    return-void
.end method
